<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use frontend\modules\common\models\BaseParam;

/* @var $this yii\web\View */
/* @var $model frontend\modules\resource\models\SpecialResourceSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<?php $form = ActiveForm::begin([
    'action' => ['index'],
    'method' => 'get',
    'options' => [
        'data-pjax' => 1
    ],
    'fieldConfig' => [
        'template' => '{label}：{input}',
    ],
]); ?>

<?= $form->field($model, 'res_title', ['options' => ['class' => 'search_input']]) ?>

<?= $form->field($model, 'type', ['options' => ['class' => 'search_input']])->dropDownList(BaseParam::$resourceType, ['prompt' => '选择分类']) ?>


<?php // echo $form->field($model, 'sp_id') ?>

<?php // echo $form->field($model, 'created_at') ?>

<?php // echo $form->field($model, 'updated_at') ?>

<?php // echo $form->field($model, 'deleted_at') ?>

<div class="form-group cha-xun">
    <?= Html::submitButton('查 询', ['class' => 'btn btn-primary']) ?>
</div>

<?php ActiveForm::end(); ?>


